home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
hypercrd
/
hc2_x
/
tcprogud.sit
/
TC Prog Guide
/
card_38674.txt
< prev
next >
Wrap
Text File
|
1991-02-27
|
687b
|
32 lines
-- card: 38674 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 4755
-- name:
-- part contents for background part 4
----- text -----
to call the Student::set() method. In order to override the method we must redeclare it in the definition of the Student class:
struct Student:Person
{
int student_num;
int init(void); /* override inherited init() method */
void set(void);
void print(void);
};
int Student::init(void)
{
set(); /* call Student's set() method */
return 1;
}
-- part contents for background part 7
----- text -----
117